<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%    
String path = request.getContextPath();    
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";    
pageContext.setAttribute("basePath",basePath);    
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>测试</title>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<link href="<%=basePath%>resources/js/bootstrap-3.3.6-dist/css/bootstrap.min.css" rel="stylesheet" media="screen">

</head>
<body onload="" style="width:100%;padding:0;margin:0;height:100%;">
<h1>Hello!2</h1>
<li><a href="<%=basePath%>user/login.html?userName=admin&password=123456">登录</a></li>
</body>
</html>

